package service

import (
	"gotest/src/db"
	"gotest/src/modles"
	"strconv"
)

func InsertUserPost(tu modles.TestUser) (string, error) {
	err := db.Db.Create(&tu).Error
	return strconv.Itoa(tu.Id), err
}

func InsertUserPost22(tu modles.TestUser) (string, error) {
	err := db.Db.Create(&tu).Error
	return strconv.Itoa(tu.Id), err
}
